package com.itheima.tliaswebmanagement.service;

import com.itheima.tliaswebmanagement.pojo.common.PageResult;
import com.itheima.tliaswebmanagement.pojo.dto.EmpDTO;
import com.itheima.tliaswebmanagement.pojo.dto.EmpPageQueryDTO;
import com.itheima.tliaswebmanagement.pojo.entity.Emp;
import com.itheima.tliaswebmanagement.pojo.vo.EmpVO;
import com.itheima.tliaswebmanagement.pojo.vo.LoginInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description EmpService
 * @Author ziguan ling
 * @Date 2025--01--06
 */

public interface EmpService {
    PageResult<EmpVO> page(EmpPageQueryDTO empPageQueryDTO);

    void addEmp(EmpDTO empDTO);

    LoginInfo getLoginInfo(Emp emp);

    EmpVO queryById_s(Integer id);

    List<Emp> queryAll_s();

    void update_s(EmpDTO empDTO);

    void removeBatch_s(List<Integer> ids);
}
